/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package managedbean.stakeholder;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;
import javax.faces.bean.ViewScoped;
import javax.faces.event.PhaseEvent;

/**
 *
 * @author jamie
 */
@ManagedBean
@ViewScoped
public class ResturantManagedBean implements Serializable {
    
    private String imgLink;
    private String desc;
    private String header;
    
    
    public ResturantManagedBean(){
        
        
    }
    
     public void initView(PhaseEvent event) throws UnsupportedEncodingException, NoSuchAlgorithmException {
         setImgLink("/images/upload/fishy_picture.jpg");
         setHeader("Restaurants");
         setDesc("Dining, along with shopping, is said to be the country's national pastime" 
                 + "The diversity of food is touted as a reason to visit the country, and the variety of "
                 + "food representing different ethnicities is seen by the government as a symbol of its "
                 + "multiculturalism Some of the must-try "
                 + "dishes include Hainanese Chicken Rice, Nasi Lemak, Fish Head Curry, and Ayam Buah Keluak. "
                 + "They are sure to leave you lip-smacking, if not full with delight. So get ready for a "
                 + "sumptuous feast, and delight your taste buds.");
     }

    /**
     * @return the imgLink
     */
    public String getImgLink() {
        return imgLink;
    }

    /**
     * @param imgLink the imgLink to set
     */
    public void setImgLink(String imgLink) {
        this.imgLink = imgLink;
    }

    /**
     * @return the desc
     */
    public String getDesc() {
        return desc;
    }

    /**
     * @param desc the desc to set
     */
    public void setDesc(String desc) {
        this.desc = desc;
    }

    /**
     * @return the header
     */
    public String getHeader() {
        return header;
    }

    /**
     * @param header the header to set
     */
    public void setHeader(String header) {
        this.header = header;
    }
    
    
}
